package com.twan.kotlinbase

fun main() {
    testlast()
}

fun testlast(){
    var str ="123456789"
    println("结果:"+str.dropLast(1))
}